// Package receiveraddress
// @Link  https://github.com/bufanyun/hotgo
// @Copyright  Copyright (c) 2025 HotGo CLI
// @Author  Ms <133814250@qq.com>
// @License  https://github.com/bufanyun/hotgo/blob/master/LICENSE
// @AutoGenerate Version 2.15.11
package receiveraddress

import (
	"hotgo/internal/model/input/form"
	"hotgo/internal/model/input/sysin"

	"github.com/gogf/gf/v2/frame/g"
)

// ListReq 查询收货地址列表
type ListReq struct {
	g.Meta `path:"/receiverAddress/list" method:"get" tags:"收货地址" summary:"获取收货地址列表"`
	sysin.ReceiverAddressListInp
}

type ListRes struct {
	form.PageRes
	List []*sysin.ReceiverAddressListModel `json:"list"   dc:"数据列表"`
}

// ViewReq 获取收货地址指定信息
type ViewReq struct {
	g.Meta `path:"/receiverAddress/view" method:"get" tags:"收货地址" summary:"获取收货地址指定信息"`
	sysin.ReceiverAddressViewInp
}

type ViewRes struct {
	*sysin.ReceiverAddressViewModel
}

// EditReq 修改/新增收货地址
type EditReq struct {
	g.Meta `path:"/receiverAddress/edit" method:"post" tags:"收货地址" summary:"修改/新增收货地址"`
	sysin.ReceiverAddressEditInp
}

type EditRes struct{}

// DeleteReq 删除收货地址
type DeleteReq struct {
	g.Meta `path:"/receiverAddress/delete" method:"post" tags:"收货地址" summary:"删除收货地址"`
	sysin.ReceiverAddressDeleteInp
}

type DeleteRes struct{}
